<template>
  <div>
    <p>请选择你喜欢的专栏</p>
    <div>

    <input type="checkbox" name="" id="" value="喜剧" v-model="love">喜剧
    <input type="checkbox" name="" id="" value="动漫" v-model="love">动漫
    <input type="checkbox" name="" id="" value="冒险" v-model="love">冒险
    <input type="checkbox" name="" id="" value="科技" v-model="love">科技
    <input type="checkbox" name="" id="" value="军事" v-model="love">军事
    <input type="checkbox" name="" id="" value="娱乐" v-model="love">娱乐
    </div>
    <div>{{this.str=this.love}}</div>
  </div>
</template>

<scrip
export default {
   data(){
    return{
      love:[],
      str:[]
    }
   }
}
</script>

<style>

</style>